package greedy;

import java.util.Arrays;

/**
 * @ Author     ：侯耀祖
 * @ Description：
 */
public class Main {
    public static void main(String[] args) {
//        int[] g = new int[]{1,2,3};
//        int[] s = new int[]{1,1};
//        findContentChildren f = new findContentChildren();
//        System.out.println(f.findContentChildren(g, s));
        int[] gas = new int[]{7,1,5,3,6,4};
        maxProfit m = new maxProfit();
        System.out.println(m.maxProfit(gas));

    }
}
